target_include_directories(${PROJECT_NAME} PRIVATE
        "${CMAKE_CURRENT_LIST_DIR}/Bsp/adc"
        "${CMAKE_CURRENT_LIST_DIR}/Bsp/can"
        "${CMAKE_CURRENT_LIST_DIR}/Bsp/dwt"
        "${CMAKE_CURRENT_LIST_DIR}/Modules/Algorithm/math"
        "${CMAKE_CURRENT_LIST_DIR}/Modules/Algorithm/crc"
        "${CMAKE_CURRENT_LIST_DIR}/Modules/Algorithm/Traj"
        "${CMAKE_CURRENT_LIST_DIR}/Modules/Algorithm"
        "${CMAKE_CURRENT_LIST_DIR}/Modules/Controller/pid"
        "${CMAKE_CURRENT_LIST_DIR}/Modules/Encoder/MT6816"
        "${CMAKE_CURRENT_LIST_DIR}/Modules/LCD"
        "${CMAKE_CURRENT_LIST_DIR}/Modules/Motor"
        "${CMAKE_CURRENT_LIST_DIR}/Modules/Niming"
        "${CMAKE_CURRENT_LIST_DIR}/Modules/RGB/ws2812b"
        "${CMAKE_CURRENT_LIST_DIR}/Modules/Vofa"
        "${CMAKE_CURRENT_LIST_DIR}/App/motor_task"
        "${CMAKE_CURRENT_LIST_DIR}/Start/Inc"
)

file(GLOB_RECURSE SOURCES "App/*.*" "Bsp/*.*" "Modules/*.*" "Start/*.*")
target_sources(${PROJECT_NAME} PRIVATE ${SOURCES})
